# 关于test 获取文本内容
from selenium import webdriver
import time
driver = webdriver.Chrome()
driver.get("https://www.baidu.com/")
text = driver.find_element_by_id("s-top-left").text
print(text)
driver.quit()
